<template>
	<view class="bg-gradual-orange">
		<cu-custom bgColor="" :isBack="true">
			<block slot="back">返回</block>
			<block slot="content">联系客服</block>
		</cu-custom>
		<view class="tac" v-if="$com.isbool(config)">
			<image :src="$api.getBaseUrl() + config.pic" class="wh40-40" mode="aspectFit"></image>
			<view class="pad5">扫码添加微信客服</view>
		</view>

		<view class="bcf pad5">
			<!-- <button open-type="contact" @contact="handleContact"> -->
			<button class="bg-gradual-orange round fs12" open-type="contact">
				联系在线客服
			</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				config: {}
			}
		},
		methods: {

		},
		onLoad(){
			let _this = this
			this.$api.get("/api/get_config",{code:'qrCode'},function(res){
				console.log(res)
				_this.config = res.d
			})
		}
	}
</script>

<style>

</style>
